package com.cskaoyan.service.category;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.category.Category;
import com.cskaoyan.bean.category.bo.CategoryCreateBoL2;
import com.cskaoyan.bean.category.bo.CategoryDeleteBoL1;
import com.cskaoyan.bean.category.vo.L1Vo;
import com.cskaoyan.bean.wx.goods.bo.GoodsListBo;
import com.cskaoyan.bean.wx.home.vo.ChannelVo;
import com.cskaoyan.bean.wx.home.vo.GoodsVo;

import java.util.List;

public interface CategoryService {



    Integer selectAllCategoryNumber();

    List<L1Vo> selectAllCategoryIdAndName();

    BaseRespVo selectAllCategory();

    Category createCategory(CategoryCreateBoL2 categoryCreateBo);

    BaseRespVo update(Category category);

    BaseRespVo delete(CategoryDeleteBoL1 categoryDeleteBoL1);

    List<ChannelVo> selectAllChannel();

    List<GoodsVo> queryFloorGoods(Integer id);

    BaseRespVo selectL2Category(Integer id);

    BaseRespVo selectGoodsList(GoodsListBo goodsListBo);

    BaseRespVo selectGoodsDetailList(Integer id);

    BaseRespVo selectRelated(Integer id);

    void insertFootprint(Integer principal, Integer id);
}
